package mango.web.client;

import mango.web.client.admin.AdminDbView;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Test implements EntryPoint {
	public void onModuleLoad() {
		C.init();
		AdminDbView.get("").dialogBox.show();
		C.adminViewS.view(this.initCallback);
	}

	public AsyncCallback<C> initCallback = new AsyncCallback<C>() {
		public void onSuccess(C c) {
			C.set(c);
			//AdminView.get("").view();
			//AdminSearchView.get("").view();
			AdminDbView.get("").view();
		}

		public void onFailure(Throwable caught) {
		}
	};
}
